package com.jlg.actions.user;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Standard;
import org.springframework.beans.factory.annotation.Autowired;

import com.julewa.Client;

@Standard
public class IndexAction {
	@Autowired Client client;
	
	//
	public String execute(){
		return "list";
	}
	
	@Action("add")
	public String addUser(){
		return "edit";
	}

	@Action("edit")
	public String editUser(){
		return "edit";
	}
	
	@Action("del")
	public String delUser(){
		return "list";
	}
}
